package com.aiyige.model.eshop;

import java.util.Map;

/**
 * Created by zhuyakun on 2018/1/30.
 */

public class CreateOrderResponse {
//    Order order;

    String orderId;
    String orderCode;
    String sellerPhone;
    PayUrl payUrl;
    Integer payed;
    Map<String,Object> appPay;

    public Map<String, Object> getAppPay() {
        return appPay;
    }

    public void setAppPay(Map<String, Object> appPay) {
        this.appPay = appPay;
    }

    public Integer getPayed() {
        return payed;
    }

    public void setPayed(Integer payed) {
        this.payed = payed;
    }

    public boolean alreadyPayed() {
        return payed != null && payed == 1;
    }

//    public Order getOrder() {
//        return order;
//    }
//
//    public void setOrder(Order order) {
//        this.order = order;
//    }

    public PayUrl getPayUrl() {
        return payUrl;
    }

    public void setPayUrl(PayUrl payUrl) {
        this.payUrl = payUrl;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getSellerPhone() {
        return sellerPhone;
    }

    public void setSellerPhone(String tel) {
        this.sellerPhone = tel;
    }
}
